<template>
	<view class="page">
		<view class="card">
			<abc :list="list"></abc>
			<qwe></qwe>
		</view>
		<!-- <uniRate></uniRate> -->
		<progress percent="20" show-info stroke-width="3"/>
		<progress percent="80" show-info border-radius="50px" stroke-width="30" :active="true" backgroundColor="#4CD964" activeColor="#f00" :duration="1000"/>
	</view>
</template>

<script>
	import abc from '../components/list.vue'
	import qwe from '../components/aData.vue'
	// import uniRate from './uni-rate/uni-rate.vue'
	export default {
		components: {
			abc,qwe,
			// uniRate
		},
		data:function data() {
			return {
				list: [{
						title: 'lake: 涂色书',
						msg: '放轻松，用涂色驱散压力',
						img: '../../static/tt1.png',
						btn:'获取'
					},
					{
						title: 'UNRN:我的涂色本',
						msg: '拼图游戏和着色游戏',
						img: '../../static/tt2.png',
						btn:'获取'
					},
					{
						title: 'Tayasui Color',
						msg: '娱乐',
						img: '../../static/tt3.png',
						btn:'￥18.00'
					},
					{
						title: 'Bloom 着色解密',
						msg: '变得有创新',
						img: '../../static/tt4.png',
						btn:'获取'
					},
					{
						title: 'Coloy：成人用的乐趣',
						msg: '最舒压的绘画游戏-秘密',
						img: '../../static/tt5.png',
						btn:'获取'
					}
				],
				interval: 1,
				duration: 10000,
			};
		}
	}
</script>

<style lang="scss">
	.page {
		width: 100%;

		.date {
			color: #808080;
			font-size: 23rpx;
			margin-top: 48rpx;
			margin-left: 40rpx;
		}

		.btn {
			width: 148rpx;
			height: 60rpx;
			border-radius: 33px;
			font-size: 14px;
			line-height: 60rpx;
			text-align: center;
			color: rgba(42, 130, 228, 1);
			margin-right: 45rpx;
		}

		.title {
			width: 670rpx;
			margin: 20rpx auto;

			.left {
				color: rgba(0, 0, 0, 1);
				font-size: 68rpx;
				font-weight: bold;
			}

			.right {
				width: 72rpx;
				height: 72rpx;

				.img {
					width: 100%;
					height: 100%;
					border-radius: 38rpx;
				}
			}
		}

		.list {
			width: 100%;

			.card {
				width: 670rpx;
				height: 819rpx;
				border-radius: 23px;
				margin: 20rpx auto 60rpx;
				box-shadow: 0px 35px 35px 0px rgba(153, 153, 153, 0.2);
				position: relative;
				overflow: hidden;
				background: #fff;

				.picture {
					z-index: 1;
					width: 100%;
					height: 100%;
					position: absolute;
				}

				.subtitle {
					font-size: 32rpx;
					color: #808080;
					margin-top: 22rpx;
					margin-left: 40rpx;
					z-index: 10;
					position: relative;
				}

				.title {
					width: 348rpx;
					font-size: 58rpx;
					color: #383838;
					margin-top: 10rpx;
					margin-left: 40rpx;
					z-index: 10;
					position: relative;
				}

				.titles {
					width: 432rpx;
					color: rgba(0, 0, 0, 1);
					margin-top: 10rpx;
					margin-left: 40rpx;
					font-size: 23px;
					font-weight: bold;
					z-index: 10;
					position: relative;
				}

				// --------------------------
				.swiper {
					width: 100%;
					min-height: 580rpx;
					margin-top: 80rpx;

					.swiper-item {
						width: max-content;
						height: 100%;
						position: relative;

						.wrap {
							position: relative;
							transition: all;
							width: max-content;
							height: 152rpx;
							margin-bottom: 20rpx;

							image {
								width: 152rpx;
								height: 152rpx;
								border-radius: 38rpx;
								margin-right: 20rpx;
							}
						}

						.two {
							left: -76rpx;
						}

						// .one{
						// 	// animation: move 10s ;
						// 	animation-name: move;
						// 	animation-duration: 80s;
						// 	animation-timing-function: linear;
						// 	animation-delay: 0s;
						// 	animation-iteration-count: infinite;
						// 	animation-direction: normal;
						// 	animation-play-state: running;
						// }
					}
				}

				.bottom {
					position: relative;
					left: 54rpx;
					top: 567rpx;
					color: #FFFFFF;
				}

			}
		}
	}
</style>
